package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.Coupon;

import java.util.List;

public interface CouponMapper {
    int deleteByPrimaryKey(Integer index);

    int insert(Coupon record);

    int insertSelective(Coupon record);

    Coupon selectByPrimaryKey(Integer index);

    List<Coupon> getAllByFilter(Integer useFlag, Integer classNum);

    int updateByPrimaryKeySelective(Coupon record);

    int updateByPrimaryKey(Coupon record);
}